package sn.ugb.po.personne;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table(name = "Personne")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)


public class Personne {

	
	@Column(name = "Id_Personne")
	private Integer Id_Personne;
	
    @Column (name = "E_mail")
    private String E_mail;
    
    @Column (name = "Nom")
    private String Nom;
    
    @Column (name = "Prenom")
    private String Prenom;
    
    @Column (name = "Adresse")
    private String Adresse;
    
    @Column (name = "Telephone")
    private Integer Telephone;
    
    protected Personne(){}

	public Integer getId_Personne() {
		return Id_Personne;
	}

	public void setId_Personne(Integer id_Personne) {
		Id_Personne = id_Personne;
	}

	public String getE_mail() {
		return E_mail;
	}

	public void setE_mail(String e_mail) {
		E_mail = e_mail;
	}

	public String getNom() {
		return Nom;
	}

	public void setNom(String nom) {
		Nom = nom;
	}

	public String getPrenom() {
		return Prenom;
	}

	public void setPrenom(String prenom) {
		Prenom = prenom;
	}

	public String getAdresse() {
		return Adresse;
	}

	public void setAdresse(String adresse) {
		Adresse = adresse;
	}

	public Integer getTelephone() {
		return Telephone;
	}

	public void setTelephone(Integer telephone) {
		Telephone = telephone;
	}
}
